/*
 *@(#)Home.java 1.0 Feb 1, 2008
 *Copyright Fution Bai
 *
 */
package codebush.service;

import java.io.File;
import java.io.InputStream;

import codebush.domain.Users;


/**
 *
 * @author Fution Bai
 * @since 1.0
 */
public interface Home {
	void deleteArticle(long articleId);
	void deleteAccount(int userId);
	void postArticle(String title, String content, String tag, int type, int userId);
	void modifyArticle(long articleId, String title, String content, String tag, int type);
	void postArticle(String title, String content, String tag, int userId);
	void showProfile(int userId);
	void profileFill(Users user);
	void storeMyPicture(int userId, InputStream contentStream, int contentLength);
	void storeCompressedMyPicture(int userId, InputStream contentStream, int contentLength);
	void storeInFileSystem(File file, int userId);
}
